#define _CRT_SECURE_NO_WARNINGS 1

#include"vector.h"

int main()
{
	zy::vector<string> v1;
	string s("xxx");
	v1.push_back(s);
	v1.push_back(string("aa"));
	v1.push_back("qqq");
	v1.push_back("qqq");
	v1.push_back("qqq");
	v1.push_back("qqq");
	print(v1);

	///*zy::vector<int> v1(3, 1);
	//print(v1);*/
	//zy::vector<int> v2(3u, 1);
	//print(v2);
	//zy::vector<int> v3(3, '1');
	//print(v3);

	/*string s("abcd");
	zy::vector<int> v1(s.begin(),s.end());
	zy::vector<int> v2(v1);
	print(v1);
	print(v2);
	v1.pop_back();
	print(v1);
	print(v2);*/

	/*int a = 10;
	int& b = a;
	int c = b;
	cout << a << b << c << endl;

	b = 2;
	cout << a << b << c << endl;*/

	/*zy::vector<int> v1(4, 1);
	zy::vector<int> v2(v1);
	print(v1);
	print(v2);
	v1.pop_back();
	print(v1);
	print(v2);*/

	/*zy::vector<int> v;
	v.resize(5, 2);
	v.resize(3);
	v.resize(8);
	print(v);*/

	/*zy::vector<int> v;
	v.insert(v.begin(), 2);
	v.insert(v.begin(), 3);
	v.insert(v.begin(), 4);
	v.erase(v.begin() + 1);
	v.erase(v.begin() + 1);
	v.pop_back();
	print(v);*/

	/*zy::vector<int> v;
	v.insert(v.begin(), 2);
	v.insert(v.begin(), 3);
	v.insert(v.begin(), 4);
	v.insert(v.begin(), 5);
	v.insert(v.begin(), 6);
	v.insert(v.begin(), 7);
	v.insert(v.begin(), 8);
	v.insert(v.begin(), 9);
	v.insert(v.begin(), 1);
	print(v);*/

	/*zy::vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.pop_back();
	v.pop_back();
	v.pop_back();
	print(v);*/

	/*zy::vector<int> v(4, 2);
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	print(v);*/

	return 0;
}
